package com.blacktea.creationalpatterns.prototypepattern;

/**
 * @description:
 * @author: black tea
 * @date: 2023/3/19 19:04
 */
public class Prototype implements Cloneable {

    private String name;

    public Prototype(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public Prototype clone() throws CloneNotSupportedException {
        return (Prototype) super.clone();
    }

}
